package models

type Student struct { //Student结构体对应数据库表student
	Sno    string `gorm:"column:sno"` //分别对应数据库表中各个属性
	Sname  string `gorm:"column:sname"`
	Ssex   string `gorm:"column:ssex"`
	Stel   string `gorm:"column:stel"`
	Sdept  string `gorm:"column:sdept"`
	Sclass string `gorm:"column:sclass"`
}
